package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.ThirdPartyLogin;
import com.literaryfamily.literaryfamily.entity.ThirdPartyLoginExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ThirdPartyLoginMapper {
    long countByExample(ThirdPartyLoginExample example);

    int deleteByExample(ThirdPartyLoginExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(ThirdPartyLogin row);

    int insertSelective(ThirdPartyLogin row);

    List<ThirdPartyLogin> selectByExample(ThirdPartyLoginExample example);

    ThirdPartyLogin selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("row") ThirdPartyLogin row, @Param("example") ThirdPartyLoginExample example);

    int updateByExample(@Param("row") ThirdPartyLogin row, @Param("example") ThirdPartyLoginExample example);

    int updateByPrimaryKeySelective(ThirdPartyLogin row);

    int updateByPrimaryKey(ThirdPartyLogin row);
}